package com.depthsdata.coe.dao;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import net.dao.BaseQueryBean;
import net.dao.BaseWhereCriterion;
import net.dao.IDataAccessInterface;
import org.apache.commons.lang.StringUtils;
/**
 * Template Name : DAO查询对象
 * Template Version : 1
 * Template Last Modfiy Date : Sat Aug 19 10:06:32 CST 2017
 * Auto Generate Date : 2019-12-27 11:41:50
  * Warning ! This file will be overwrite when regenerate !
  * 
 */
public class BusinessNodeFormDAOQueryBean extends BaseQueryBean {
    
    public BusinessNodeFormDAOQueryBean() {
		super();
    }
	
    public BusinessNodeFormDAOQueryBean(BaseQueryBean aQueryBean) {
        super(aQueryBean);
    }
    
    public BusinessNodeFormDAOQueryBean(BaseQueryBean aQueryBean,Map tableReplaceMap) {
        super(aQueryBean,tableReplaceMap);
    }
    
    public Criteria createCriteria() {
        
	    Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
                  oredCriteria.add(criteria);
            }
        return criteria;
     }
	
    protected Criteria createCriteriaInternal() {
	  return new Criteria(this);
    }
    
        
        
    	
		
	    
    public void addIdSelectProperty(){
		addIdSelectProperty("id");
	}
	
    public void addIdSelectProperty(String aAlias){
		if(StringUtils.isNotBlank(aAlias)){
			addSelectProperty(IBusinessNodeFormDAO.Id,aAlias);
		}
		else{
			addSelectProperty(IBusinessNodeFormDAO.Id,"id");
	    }
    }
    
       
		
		
	    
    public void addBusinessNodeIdSelectProperty(){
		addBusinessNodeIdSelectProperty("businessNodeId");
	}
	
    public void addBusinessNodeIdSelectProperty(String aAlias){
		if(StringUtils.isNotBlank(aAlias)){
			addSelectProperty(IBusinessNodeFormDAO.BusinessNodeId,aAlias);
		}
		else{
			addSelectProperty(IBusinessNodeFormDAO.BusinessNodeId,"businessNodeId");
	    }
    }
    
       
		
		
	    
    public void addBusinessFormNameSelectProperty(){
		addBusinessFormNameSelectProperty("businessFormName");
	}
	
    public void addBusinessFormNameSelectProperty(String aAlias){
		if(StringUtils.isNotBlank(aAlias)){
			addSelectProperty(IBusinessNodeFormDAO.BusinessFormName,aAlias);
		}
		else{
			addSelectProperty(IBusinessNodeFormDAO.BusinessFormName,"businessFormName");
	    }
    }
    
       
		
		
	    
    public void addDeleteFlagSelectProperty(){
		addDeleteFlagSelectProperty("deleteFlag");
	}
	
    public void addDeleteFlagSelectProperty(String aAlias){
		if(StringUtils.isNotBlank(aAlias)){
			addSelectProperty(IBusinessNodeFormDAO.DeleteFlag,aAlias);
		}
		else{
			addSelectProperty(IBusinessNodeFormDAO.DeleteFlag,"deleteFlag");
	    }
    }
    
       
		
		
	    
    public void addStatusSelectProperty(){
		addStatusSelectProperty("status");
	}
	
    public void addStatusSelectProperty(String aAlias){
		if(StringUtils.isNotBlank(aAlias)){
			addSelectProperty(IBusinessNodeFormDAO.Status,aAlias);
		}
		else{
			addSelectProperty(IBusinessNodeFormDAO.Status,"status");
	    }
    }
    
       
		
		
	    
    public void addRemarksSelectProperty(){
		addRemarksSelectProperty("remarks");
	}
	
    public void addRemarksSelectProperty(String aAlias){
		if(StringUtils.isNotBlank(aAlias)){
			addSelectProperty(IBusinessNodeFormDAO.Remarks,aAlias);
		}
		else{
			addSelectProperty(IBusinessNodeFormDAO.Remarks,"remarks");
	    }
    }
    
       
		
		
	    
    public void addBusinessFormSchemaSelectProperty(){
		addBusinessFormSchemaSelectProperty("businessFormSchema");
	}
	
    public void addBusinessFormSchemaSelectProperty(String aAlias){
		if(StringUtils.isNotBlank(aAlias)){
			addSelectProperty(IBusinessNodeFormDAO.BusinessFormSchema,aAlias);
		}
		else{
			addSelectProperty(IBusinessNodeFormDAO.BusinessFormSchema,"businessFormSchema");
	    }
    }
    
       
		
		
	public void addAllSelectProperties(){
		
		
	    addIdSelectProperty();
   
		
		
	    addBusinessNodeIdSelectProperty();
   
		
		
	    addBusinessFormNameSelectProperty();
   
		
		
	    addDeleteFlagSelectProperty();
   
		
		
	    addStatusSelectProperty();
   
		
		
	    addRemarksSelectProperty();
   
		
		
	    addBusinessFormSchemaSelectProperty();
   
		
	    }
    
    public static class Criteria extends BaseWhereCriterion<BusinessNodeFormDAOQueryBean> {
	
        protected Criteria(BusinessNodeFormDAOQueryBean aParentObject) {
		    super(aParentObject);
        }
        
                  
            	
    	    	
    	        
                
        public Criteria andIdIsNull() {
            addCriterion(IBusinessNodeFormDAO.Id + " is null");
            return this;
        }
        public Criteria andIdIsNotNull() {
            addCriterion(IBusinessNodeFormDAO.Id + " is not null");
            return this;
        }
    
        public Criteria andIdIsNotEmpty() {        
            addCriterion(IBusinessNodeFormDAO.Id + " is not null AND " + IBusinessNodeFormDAO.Id + " <> ''");
            return this;
        }
    		
    	public Criteria andIdIsEmpty() {       
            addCriterion("(" + IBusinessNodeFormDAO.Id + " is null OR " + IBusinessNodeFormDAO.Id + " = '')");
            return this;
        }
        
                
                        
                        
                                
        public Criteria andIdEqualTo(long value) {
        	return andIdEqualTo(Long.valueOf(value));
        }
               public Criteria andIdEqualTo(java.lang.Long value) {
        				
            addCriterion(IBusinessNodeFormDAO.Id + " = ", value, "id");
            return this;
        }
        
        public Criteria andIdEqualToForeignKey(java.lang.String key) {
	    StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.Id);
	    str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andIdEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.Id + " = ", subQueryBean, dao);
			return this;
		}
                
        public Criteria andIdNotEqualTo(long value) {
        	return andIdNotEqualTo(Long.valueOf(value));
        }
                public Criteria andIdNotEqualTo(java.lang.Long value) {
        	        
            addCriterion(IBusinessNodeFormDAO.Id + " <>", value, "id");
            return this;
        }
               
        public Criteria andIdNotEqualToOrIsNull(long value) {
        	return andIdNotEqualToOrIsNull(Long.valueOf(value));
        }
                
        public Criteria andIdNotEqualToOrIsNull(java.lang.Long value) {
        	        
            addCriterion(IBusinessNodeFormDAO.Id + " is null OR " + IBusinessNodeFormDAO.Id + " <>", value, "id");
            return this;
        }
        
        public Criteria andIdNotEqualToForeignKey(java.lang.String key) {
	    StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.Id);
	    str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andIdNotEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.Id + " <> ", subQueryBean, dao);
			return this;
		}
               
        public Criteria andIdGreaterThan(long value) {
        	return andIdGreaterThan(Long.valueOf(value));
        }
                public Criteria andIdGreaterThan(java.lang.Long value) {
        				
            addCriterion(IBusinessNodeFormDAO.Id + " >", value, "id");
            return this;
        }
        
        public Criteria andIdGreaterThanForeignKey(java.lang.String key) {
	    StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.Id);
	    str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andIdGreaterThan(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.Id + " > ", subQueryBean, dao);
			return this;
		}
               
        public Criteria andIdGreaterThanOrEqualTo(long value) {
        	return andIdGreaterThanOrEqualTo(Long.valueOf(value));
        }
                public Criteria andIdGreaterThanOrEqualTo(java.lang.Long value) {
        				
            addCriterion(IBusinessNodeFormDAO.Id + " >=", value, "id");
            return this;
        }
        
        public Criteria andIdGreaterThanOrEqualToForeignKey(java.lang.String key) {
			StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.Id);
			str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andIdGreaterThanOrEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.Id + " >= ", subQueryBean, dao);
			return this;
		}
        
                
        public Criteria andIdLessThan(long value) {
        	return andIdLessThan(Long.valueOf(value));
        }
                public Criteria andIdLessThan(java.lang.Long value) {
        				
            addCriterion(IBusinessNodeFormDAO.Id + " <", value, "id");
            return this;
        }
        
        public Criteria andIdLessThanForeignKey(java.lang.String key) {
			StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.Id);
			str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andIdLessThan(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.Id + " < ", subQueryBean, dao);
			return this;
		}
        
                
        public Criteria andIdLessThanOrEqualTo(long value) {
        	return andIdLessThanOrEqualTo(Long.valueOf(value));
        }
                public Criteria andIdLessThanOrEqualTo(java.lang.Long value) {
        				
            addCriterion(IBusinessNodeFormDAO.Id + " <=", value, "id");
            return this;
        }
        
        public Criteria andIdLessThanOrEqualToForeignKey(java.lang.String key) {
			StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.Id);
			str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andIdLessThanOrEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.Id + " <= ", subQueryBean, dao);
			return this;
		}
		
		        
                
        public Criteria andIdIn(long[] values) {
        	if(values.length == 1){
        		return andIdEqualTo((java.lang.Long)values[0]);
        	}
        	else{
            	addCriterion(IBusinessNodeFormDAO.Id + " in", values, "id");
            	return this;
            }
        }
        
        public Criteria andIdNotIn(long[] values) {
        	if(values.length == 1){
        		return andIdNotEqualTo((java.lang.Long)values[0]);
        	}
        	else{
            	addCriterion(IBusinessNodeFormDAO.Id + " not in", values, "id");
            	return this;
            }
        }
        
                public Criteria andIdIn(List<java.lang.Long> values) {
        	
        	if(values.size() == 1){
        		return andIdEqualTo(values.get(0));
        	}
        	else{
            	addCriterion(IBusinessNodeFormDAO.Id + " in", values, "id");
            	return this;
            }
        }
        public Criteria andIdNotIn(List<java.lang.Long> values) {
        	if(values.size() == 1){
        		return andIdNotEqualTo(values.get(0));
        	}
        	else{
            	addCriterion(IBusinessNodeFormDAO.Id + " not in", values, "id");
            	return this;
            }
        }
        
        public Criteria andIdIn(java.lang.Long[] values) {
        	
        	if(values.length == 1){
        		return andIdEqualTo(values[0]);
        	}
        	else{
            	addCriterion(IBusinessNodeFormDAO.Id + " in", Arrays.asList(values), "id");
            	return this;
            }
        }
        public Criteria andIdNotIn(java.lang.Long[] values) {
        	if(values.length == 1){
        		return andIdNotEqualTo(values[0]);
        	}
        	else{
            	addCriterion(IBusinessNodeFormDAO.Id + " not in", Arrays.asList(values), "id");
            	return this;
            }
        }
		
		public Criteria andIdIn(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.Id + " in ", subQueryBean, dao);
			return this;
		}
		
		public Criteria andIdNotIn(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.Id + " not in ", subQueryBean, dao);
			return this;
		}
        
                
        public Criteria andIdBetween(long value1,long value2) {
        	addCriterion(IBusinessNodeFormDAO.Id + " between", value1, value2, "id");
            return this;
        }
                public Criteria andIdBetween(java.lang.Long value1, java.lang.Long value2) {
            addCriterion(IBusinessNodeFormDAO.Id + " between", value1, value2, "id");
            return this;
        }
        
                
        public Criteria andIdNotBetween(long value1,long value2) {
        	addCriterion(IBusinessNodeFormDAO.Id + " not between", value1, value2, "id");
            return this;
        }
                public Criteria andIdNotBetween(java.lang.Long value1, java.lang.Long value2) {
            addCriterion(IBusinessNodeFormDAO.Id + " not between", value1, value2, "id");
            return this;
        }
        
            	
    	    	
    	    	
    	        
                
        public Criteria andBusinessNodeIdIsNull() {
            addCriterion(IBusinessNodeFormDAO.BusinessNodeId + " is null");
            return this;
        }
        public Criteria andBusinessNodeIdIsNotNull() {
            addCriterion(IBusinessNodeFormDAO.BusinessNodeId + " is not null");
            return this;
        }
    
        public Criteria andBusinessNodeIdIsNotEmpty() {        
            addCriterion(IBusinessNodeFormDAO.BusinessNodeId + " is not null AND " + IBusinessNodeFormDAO.BusinessNodeId + " <> ''");
            return this;
        }
    		
    	public Criteria andBusinessNodeIdIsEmpty() {       
            addCriterion("(" + IBusinessNodeFormDAO.BusinessNodeId + " is null OR " + IBusinessNodeFormDAO.BusinessNodeId + " = '')");
            return this;
        }
        
                
                        
                        
                                
        public Criteria andBusinessNodeIdEqualTo(long value) {
        	return andBusinessNodeIdEqualTo(Long.valueOf(value));
        }
               public Criteria andBusinessNodeIdEqualTo(java.lang.Long value) {
        				
            addCriterion(IBusinessNodeFormDAO.BusinessNodeId + " = ", value, "businessNodeId");
            return this;
        }
        
        public Criteria andBusinessNodeIdEqualToForeignKey(java.lang.String key) {
	    StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.BusinessNodeId);
	    str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andBusinessNodeIdEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.BusinessNodeId + " = ", subQueryBean, dao);
			return this;
		}
                
        public Criteria andBusinessNodeIdNotEqualTo(long value) {
        	return andBusinessNodeIdNotEqualTo(Long.valueOf(value));
        }
                public Criteria andBusinessNodeIdNotEqualTo(java.lang.Long value) {
        	        
            addCriterion(IBusinessNodeFormDAO.BusinessNodeId + " <>", value, "businessNodeId");
            return this;
        }
               
        public Criteria andBusinessNodeIdNotEqualToOrIsNull(long value) {
        	return andBusinessNodeIdNotEqualToOrIsNull(Long.valueOf(value));
        }
                
        public Criteria andBusinessNodeIdNotEqualToOrIsNull(java.lang.Long value) {
        	        
            addCriterion(IBusinessNodeFormDAO.BusinessNodeId + " is null OR " + IBusinessNodeFormDAO.BusinessNodeId + " <>", value, "businessNodeId");
            return this;
        }
        
        public Criteria andBusinessNodeIdNotEqualToForeignKey(java.lang.String key) {
	    StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.BusinessNodeId);
	    str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andBusinessNodeIdNotEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.BusinessNodeId + " <> ", subQueryBean, dao);
			return this;
		}
               
        public Criteria andBusinessNodeIdGreaterThan(long value) {
        	return andBusinessNodeIdGreaterThan(Long.valueOf(value));
        }
                public Criteria andBusinessNodeIdGreaterThan(java.lang.Long value) {
        				
            addCriterion(IBusinessNodeFormDAO.BusinessNodeId + " >", value, "businessNodeId");
            return this;
        }
        
        public Criteria andBusinessNodeIdGreaterThanForeignKey(java.lang.String key) {
	    StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.BusinessNodeId);
	    str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andBusinessNodeIdGreaterThan(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.BusinessNodeId + " > ", subQueryBean, dao);
			return this;
		}
               
        public Criteria andBusinessNodeIdGreaterThanOrEqualTo(long value) {
        	return andBusinessNodeIdGreaterThanOrEqualTo(Long.valueOf(value));
        }
                public Criteria andBusinessNodeIdGreaterThanOrEqualTo(java.lang.Long value) {
        				
            addCriterion(IBusinessNodeFormDAO.BusinessNodeId + " >=", value, "businessNodeId");
            return this;
        }
        
        public Criteria andBusinessNodeIdGreaterThanOrEqualToForeignKey(java.lang.String key) {
			StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.BusinessNodeId);
			str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andBusinessNodeIdGreaterThanOrEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.BusinessNodeId + " >= ", subQueryBean, dao);
			return this;
		}
        
                
        public Criteria andBusinessNodeIdLessThan(long value) {
        	return andBusinessNodeIdLessThan(Long.valueOf(value));
        }
                public Criteria andBusinessNodeIdLessThan(java.lang.Long value) {
        				
            addCriterion(IBusinessNodeFormDAO.BusinessNodeId + " <", value, "businessNodeId");
            return this;
        }
        
        public Criteria andBusinessNodeIdLessThanForeignKey(java.lang.String key) {
			StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.BusinessNodeId);
			str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andBusinessNodeIdLessThan(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.BusinessNodeId + " < ", subQueryBean, dao);
			return this;
		}
        
                
        public Criteria andBusinessNodeIdLessThanOrEqualTo(long value) {
        	return andBusinessNodeIdLessThanOrEqualTo(Long.valueOf(value));
        }
                public Criteria andBusinessNodeIdLessThanOrEqualTo(java.lang.Long value) {
        				
            addCriterion(IBusinessNodeFormDAO.BusinessNodeId + " <=", value, "businessNodeId");
            return this;
        }
        
        public Criteria andBusinessNodeIdLessThanOrEqualToForeignKey(java.lang.String key) {
			StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.BusinessNodeId);
			str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andBusinessNodeIdLessThanOrEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.BusinessNodeId + " <= ", subQueryBean, dao);
			return this;
		}
		
		        
                
        public Criteria andBusinessNodeIdIn(long[] values) {
        	if(values.length == 1){
        		return andBusinessNodeIdEqualTo((java.lang.Long)values[0]);
        	}
        	else{
            	addCriterion(IBusinessNodeFormDAO.BusinessNodeId + " in", values, "businessNodeId");
            	return this;
            }
        }
        
        public Criteria andBusinessNodeIdNotIn(long[] values) {
        	if(values.length == 1){
        		return andBusinessNodeIdNotEqualTo((java.lang.Long)values[0]);
        	}
        	else{
            	addCriterion(IBusinessNodeFormDAO.BusinessNodeId + " not in", values, "businessNodeId");
            	return this;
            }
        }
        
                public Criteria andBusinessNodeIdIn(List<java.lang.Long> values) {
        	
        	if(values.size() == 1){
        		return andBusinessNodeIdEqualTo(values.get(0));
        	}
        	else{
            	addCriterion(IBusinessNodeFormDAO.BusinessNodeId + " in", values, "businessNodeId");
            	return this;
            }
        }
        public Criteria andBusinessNodeIdNotIn(List<java.lang.Long> values) {
        	if(values.size() == 1){
        		return andBusinessNodeIdNotEqualTo(values.get(0));
        	}
        	else{
            	addCriterion(IBusinessNodeFormDAO.BusinessNodeId + " not in", values, "businessNodeId");
            	return this;
            }
        }
        
        public Criteria andBusinessNodeIdIn(java.lang.Long[] values) {
        	
        	if(values.length == 1){
        		return andBusinessNodeIdEqualTo(values[0]);
        	}
        	else{
            	addCriterion(IBusinessNodeFormDAO.BusinessNodeId + " in", Arrays.asList(values), "businessNodeId");
            	return this;
            }
        }
        public Criteria andBusinessNodeIdNotIn(java.lang.Long[] values) {
        	if(values.length == 1){
        		return andBusinessNodeIdNotEqualTo(values[0]);
        	}
        	else{
            	addCriterion(IBusinessNodeFormDAO.BusinessNodeId + " not in", Arrays.asList(values), "businessNodeId");
            	return this;
            }
        }
		
		public Criteria andBusinessNodeIdIn(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.BusinessNodeId + " in ", subQueryBean, dao);
			return this;
		}
		
		public Criteria andBusinessNodeIdNotIn(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.BusinessNodeId + " not in ", subQueryBean, dao);
			return this;
		}
        
                
        public Criteria andBusinessNodeIdBetween(long value1,long value2) {
        	addCriterion(IBusinessNodeFormDAO.BusinessNodeId + " between", value1, value2, "businessNodeId");
            return this;
        }
                public Criteria andBusinessNodeIdBetween(java.lang.Long value1, java.lang.Long value2) {
            addCriterion(IBusinessNodeFormDAO.BusinessNodeId + " between", value1, value2, "businessNodeId");
            return this;
        }
        
                
        public Criteria andBusinessNodeIdNotBetween(long value1,long value2) {
        	addCriterion(IBusinessNodeFormDAO.BusinessNodeId + " not between", value1, value2, "businessNodeId");
            return this;
        }
                public Criteria andBusinessNodeIdNotBetween(java.lang.Long value1, java.lang.Long value2) {
            addCriterion(IBusinessNodeFormDAO.BusinessNodeId + " not between", value1, value2, "businessNodeId");
            return this;
        }
        
            	
    	    	
    	    	
    	        
                
        public Criteria andBusinessFormNameIsNull() {
            addCriterion(IBusinessNodeFormDAO.BusinessFormName + " is null");
            return this;
        }
        public Criteria andBusinessFormNameIsNotNull() {
            addCriterion(IBusinessNodeFormDAO.BusinessFormName + " is not null");
            return this;
        }
    
        public Criteria andBusinessFormNameIsNotEmpty() {        
            addCriterion(IBusinessNodeFormDAO.BusinessFormName + " is not null AND " + IBusinessNodeFormDAO.BusinessFormName + " <> ''");
            return this;
        }
    		
    	public Criteria andBusinessFormNameIsEmpty() {       
            addCriterion("(" + IBusinessNodeFormDAO.BusinessFormName + " is null OR " + IBusinessNodeFormDAO.BusinessFormName + " = '')");
            return this;
        }
        
                
                        
                        
                               public Criteria andBusinessFormNameEqualTo(String value) {
        				
            addCriterion(IBusinessNodeFormDAO.BusinessFormName + " = ", value, "businessFormName");
            return this;
        }
        
        public Criteria andBusinessFormNameEqualToForeignKey(java.lang.String key) {
	    StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.BusinessFormName);
	    str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andBusinessFormNameEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.BusinessFormName + " = ", subQueryBean, dao);
			return this;
		}
                public Criteria andBusinessFormNameNotEqualTo(String value) {
        	        
            addCriterion(IBusinessNodeFormDAO.BusinessFormName + " <>", value, "businessFormName");
            return this;
        }
               
        public Criteria andBusinessFormNameNotEqualToOrIsNull(String value) {
        	        
            addCriterion(IBusinessNodeFormDAO.BusinessFormName + " is null OR " + IBusinessNodeFormDAO.BusinessFormName + " <>", value, "businessFormName");
            return this;
        }
        
        public Criteria andBusinessFormNameNotEqualToForeignKey(java.lang.String key) {
	    StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.BusinessFormName);
	    str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andBusinessFormNameNotEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.BusinessFormName + " <> ", subQueryBean, dao);
			return this;
		}
               public Criteria andBusinessFormNameGreaterThan(String value) {
        				
            addCriterion(IBusinessNodeFormDAO.BusinessFormName + " >", value, "businessFormName");
            return this;
        }
        
        public Criteria andBusinessFormNameGreaterThanForeignKey(java.lang.String key) {
	    StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.BusinessFormName);
	    str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andBusinessFormNameGreaterThan(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.BusinessFormName + " > ", subQueryBean, dao);
			return this;
		}
               public Criteria andBusinessFormNameGreaterThanOrEqualTo(String value) {
        				
            addCriterion(IBusinessNodeFormDAO.BusinessFormName + " >=", value, "businessFormName");
            return this;
        }
        
        public Criteria andBusinessFormNameGreaterThanOrEqualToForeignKey(java.lang.String key) {
			StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.BusinessFormName);
			str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andBusinessFormNameGreaterThanOrEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.BusinessFormName + " >= ", subQueryBean, dao);
			return this;
		}
        
                public Criteria andBusinessFormNameLessThan(String value) {
        				
            addCriterion(IBusinessNodeFormDAO.BusinessFormName + " <", value, "businessFormName");
            return this;
        }
        
        public Criteria andBusinessFormNameLessThanForeignKey(java.lang.String key) {
			StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.BusinessFormName);
			str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andBusinessFormNameLessThan(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.BusinessFormName + " < ", subQueryBean, dao);
			return this;
		}
        
                public Criteria andBusinessFormNameLessThanOrEqualTo(String value) {
        				
            addCriterion(IBusinessNodeFormDAO.BusinessFormName + " <=", value, "businessFormName");
            return this;
        }
        
        public Criteria andBusinessFormNameLessThanOrEqualToForeignKey(java.lang.String key) {
			StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.BusinessFormName);
			str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andBusinessFormNameLessThanOrEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.BusinessFormName + " <= ", subQueryBean, dao);
			return this;
		}
		
				
        public Criteria andBusinessFormNameLike(String value) {
        	StringBuffer buffer = new StringBuffer("%");
        	buffer.append(value);
        	buffer.append("%");
            addCriterion(IBusinessNodeFormDAO.BusinessFormName + " like", buffer.toString(), "businessFormName");
            return this;
        }
        public Criteria andBusinessFormNameNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
        	buffer.append(value);
        	buffer.append("%");
            addCriterion(IBusinessNodeFormDAO.BusinessFormName + " not like", buffer.toString(), "businessFormName");
            return this;
        }
                
                public Criteria andBusinessFormNameIn(List<String> values) {
        	
        	if(values.size() == 1){
        		return andBusinessFormNameEqualTo(values.get(0));
        	}
        	else{
            	addCriterion(IBusinessNodeFormDAO.BusinessFormName + " in", values, "businessFormName");
            	return this;
            }
        }
        public Criteria andBusinessFormNameNotIn(List<String> values) {
        	if(values.size() == 1){
        		return andBusinessFormNameNotEqualTo(values.get(0));
        	}
        	else{
            	addCriterion(IBusinessNodeFormDAO.BusinessFormName + " not in", values, "businessFormName");
            	return this;
            }
        }
        
        public Criteria andBusinessFormNameIn(String[] values) {
        	
        	if(values.length == 1){
        		return andBusinessFormNameEqualTo(values[0]);
        	}
        	else{
            	addCriterion(IBusinessNodeFormDAO.BusinessFormName + " in", Arrays.asList(values), "businessFormName");
            	return this;
            }
        }
        public Criteria andBusinessFormNameNotIn(String[] values) {
        	if(values.length == 1){
        		return andBusinessFormNameNotEqualTo(values[0]);
        	}
        	else{
            	addCriterion(IBusinessNodeFormDAO.BusinessFormName + " not in", Arrays.asList(values), "businessFormName");
            	return this;
            }
        }
		
		public Criteria andBusinessFormNameIn(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.BusinessFormName + " in ", subQueryBean, dao);
			return this;
		}
		
		public Criteria andBusinessFormNameNotIn(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.BusinessFormName + " not in ", subQueryBean, dao);
			return this;
		}
        
                public Criteria andBusinessFormNameBetween(String value1, String value2) {
            addCriterion(IBusinessNodeFormDAO.BusinessFormName + " between", value1, value2, "businessFormName");
            return this;
        }
        
                public Criteria andBusinessFormNameNotBetween(String value1, String value2) {
            addCriterion(IBusinessNodeFormDAO.BusinessFormName + " not between", value1, value2, "businessFormName");
            return this;
        }
        
            	
    	    	
    	    	
    	        
                
        public Criteria andDeleteFlagIsNull() {
            addCriterion(IBusinessNodeFormDAO.DeleteFlag + " is null");
            return this;
        }
        public Criteria andDeleteFlagIsNotNull() {
            addCriterion(IBusinessNodeFormDAO.DeleteFlag + " is not null");
            return this;
        }
    
        public Criteria andDeleteFlagIsNotEmpty() {        
            addCriterion(IBusinessNodeFormDAO.DeleteFlag + " is not null AND " + IBusinessNodeFormDAO.DeleteFlag + " <> ''");
            return this;
        }
    		
    	public Criteria andDeleteFlagIsEmpty() {       
            addCriterion("(" + IBusinessNodeFormDAO.DeleteFlag + " is null OR " + IBusinessNodeFormDAO.DeleteFlag + " = '')");
            return this;
        }
        
                
                        
                        
                                
        public Criteria andDeleteFlagEqualTo(long value) {
        	return andDeleteFlagEqualTo(Long.valueOf(value));
        }
               public Criteria andDeleteFlagEqualTo(java.lang.Long value) {
        				
            addCriterion(IBusinessNodeFormDAO.DeleteFlag + " = ", value, "deleteFlag");
            return this;
        }
        
        public Criteria andDeleteFlagEqualToForeignKey(java.lang.String key) {
	    StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.DeleteFlag);
	    str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andDeleteFlagEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.DeleteFlag + " = ", subQueryBean, dao);
			return this;
		}
                
        public Criteria andDeleteFlagNotEqualTo(long value) {
        	return andDeleteFlagNotEqualTo(Long.valueOf(value));
        }
                public Criteria andDeleteFlagNotEqualTo(java.lang.Long value) {
        	        
            addCriterion(IBusinessNodeFormDAO.DeleteFlag + " <>", value, "deleteFlag");
            return this;
        }
               
        public Criteria andDeleteFlagNotEqualToOrIsNull(long value) {
        	return andDeleteFlagNotEqualToOrIsNull(Long.valueOf(value));
        }
                
        public Criteria andDeleteFlagNotEqualToOrIsNull(java.lang.Long value) {
        	        
            addCriterion(IBusinessNodeFormDAO.DeleteFlag + " is null OR " + IBusinessNodeFormDAO.DeleteFlag + " <>", value, "deleteFlag");
            return this;
        }
        
        public Criteria andDeleteFlagNotEqualToForeignKey(java.lang.String key) {
	    StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.DeleteFlag);
	    str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andDeleteFlagNotEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.DeleteFlag + " <> ", subQueryBean, dao);
			return this;
		}
               
        public Criteria andDeleteFlagGreaterThan(long value) {
        	return andDeleteFlagGreaterThan(Long.valueOf(value));
        }
                public Criteria andDeleteFlagGreaterThan(java.lang.Long value) {
        				
            addCriterion(IBusinessNodeFormDAO.DeleteFlag + " >", value, "deleteFlag");
            return this;
        }
        
        public Criteria andDeleteFlagGreaterThanForeignKey(java.lang.String key) {
	    StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.DeleteFlag);
	    str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andDeleteFlagGreaterThan(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.DeleteFlag + " > ", subQueryBean, dao);
			return this;
		}
               
        public Criteria andDeleteFlagGreaterThanOrEqualTo(long value) {
        	return andDeleteFlagGreaterThanOrEqualTo(Long.valueOf(value));
        }
                public Criteria andDeleteFlagGreaterThanOrEqualTo(java.lang.Long value) {
        				
            addCriterion(IBusinessNodeFormDAO.DeleteFlag + " >=", value, "deleteFlag");
            return this;
        }
        
        public Criteria andDeleteFlagGreaterThanOrEqualToForeignKey(java.lang.String key) {
			StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.DeleteFlag);
			str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andDeleteFlagGreaterThanOrEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.DeleteFlag + " >= ", subQueryBean, dao);
			return this;
		}
        
                
        public Criteria andDeleteFlagLessThan(long value) {
        	return andDeleteFlagLessThan(Long.valueOf(value));
        }
                public Criteria andDeleteFlagLessThan(java.lang.Long value) {
        				
            addCriterion(IBusinessNodeFormDAO.DeleteFlag + " <", value, "deleteFlag");
            return this;
        }
        
        public Criteria andDeleteFlagLessThanForeignKey(java.lang.String key) {
			StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.DeleteFlag);
			str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andDeleteFlagLessThan(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.DeleteFlag + " < ", subQueryBean, dao);
			return this;
		}
        
                
        public Criteria andDeleteFlagLessThanOrEqualTo(long value) {
        	return andDeleteFlagLessThanOrEqualTo(Long.valueOf(value));
        }
                public Criteria andDeleteFlagLessThanOrEqualTo(java.lang.Long value) {
        				
            addCriterion(IBusinessNodeFormDAO.DeleteFlag + " <=", value, "deleteFlag");
            return this;
        }
        
        public Criteria andDeleteFlagLessThanOrEqualToForeignKey(java.lang.String key) {
			StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.DeleteFlag);
			str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andDeleteFlagLessThanOrEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.DeleteFlag + " <= ", subQueryBean, dao);
			return this;
		}
		
		        
                
        public Criteria andDeleteFlagIn(long[] values) {
        	if(values.length == 1){
        		return andDeleteFlagEqualTo((java.lang.Long)values[0]);
        	}
        	else{
            	addCriterion(IBusinessNodeFormDAO.DeleteFlag + " in", values, "deleteFlag");
            	return this;
            }
        }
        
        public Criteria andDeleteFlagNotIn(long[] values) {
        	if(values.length == 1){
        		return andDeleteFlagNotEqualTo((java.lang.Long)values[0]);
        	}
        	else{
            	addCriterion(IBusinessNodeFormDAO.DeleteFlag + " not in", values, "deleteFlag");
            	return this;
            }
        }
        
                public Criteria andDeleteFlagIn(List<java.lang.Long> values) {
        	
        	if(values.size() == 1){
        		return andDeleteFlagEqualTo(values.get(0));
        	}
        	else{
            	addCriterion(IBusinessNodeFormDAO.DeleteFlag + " in", values, "deleteFlag");
            	return this;
            }
        }
        public Criteria andDeleteFlagNotIn(List<java.lang.Long> values) {
        	if(values.size() == 1){
        		return andDeleteFlagNotEqualTo(values.get(0));
        	}
        	else{
            	addCriterion(IBusinessNodeFormDAO.DeleteFlag + " not in", values, "deleteFlag");
            	return this;
            }
        }
        
        public Criteria andDeleteFlagIn(java.lang.Long[] values) {
        	
        	if(values.length == 1){
        		return andDeleteFlagEqualTo(values[0]);
        	}
        	else{
            	addCriterion(IBusinessNodeFormDAO.DeleteFlag + " in", Arrays.asList(values), "deleteFlag");
            	return this;
            }
        }
        public Criteria andDeleteFlagNotIn(java.lang.Long[] values) {
        	if(values.length == 1){
        		return andDeleteFlagNotEqualTo(values[0]);
        	}
        	else{
            	addCriterion(IBusinessNodeFormDAO.DeleteFlag + " not in", Arrays.asList(values), "deleteFlag");
            	return this;
            }
        }
		
		public Criteria andDeleteFlagIn(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.DeleteFlag + " in ", subQueryBean, dao);
			return this;
		}
		
		public Criteria andDeleteFlagNotIn(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.DeleteFlag + " not in ", subQueryBean, dao);
			return this;
		}
        
                
        public Criteria andDeleteFlagBetween(long value1,long value2) {
        	addCriterion(IBusinessNodeFormDAO.DeleteFlag + " between", value1, value2, "deleteFlag");
            return this;
        }
                public Criteria andDeleteFlagBetween(java.lang.Long value1, java.lang.Long value2) {
            addCriterion(IBusinessNodeFormDAO.DeleteFlag + " between", value1, value2, "deleteFlag");
            return this;
        }
        
                
        public Criteria andDeleteFlagNotBetween(long value1,long value2) {
        	addCriterion(IBusinessNodeFormDAO.DeleteFlag + " not between", value1, value2, "deleteFlag");
            return this;
        }
                public Criteria andDeleteFlagNotBetween(java.lang.Long value1, java.lang.Long value2) {
            addCriterion(IBusinessNodeFormDAO.DeleteFlag + " not between", value1, value2, "deleteFlag");
            return this;
        }
        
            	
    	    	
    	    	
    	        
                
        public Criteria andStatusIsNull() {
            addCriterion(IBusinessNodeFormDAO.Status + " is null");
            return this;
        }
        public Criteria andStatusIsNotNull() {
            addCriterion(IBusinessNodeFormDAO.Status + " is not null");
            return this;
        }
    
        public Criteria andStatusIsNotEmpty() {        
            addCriterion(IBusinessNodeFormDAO.Status + " is not null AND " + IBusinessNodeFormDAO.Status + " <> ''");
            return this;
        }
    		
    	public Criteria andStatusIsEmpty() {       
            addCriterion("(" + IBusinessNodeFormDAO.Status + " is null OR " + IBusinessNodeFormDAO.Status + " = '')");
            return this;
        }
        
                
                        
                        
                               public Criteria andStatusEqualTo(String value) {
        				
            addCriterion(IBusinessNodeFormDAO.Status + " = ", value, "status");
            return this;
        }
        
        public Criteria andStatusEqualToForeignKey(java.lang.String key) {
	    StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.Status);
	    str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andStatusEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.Status + " = ", subQueryBean, dao);
			return this;
		}
                public Criteria andStatusNotEqualTo(String value) {
        	        
            addCriterion(IBusinessNodeFormDAO.Status + " <>", value, "status");
            return this;
        }
               
        public Criteria andStatusNotEqualToOrIsNull(String value) {
        	        
            addCriterion(IBusinessNodeFormDAO.Status + " is null OR " + IBusinessNodeFormDAO.Status + " <>", value, "status");
            return this;
        }
        
        public Criteria andStatusNotEqualToForeignKey(java.lang.String key) {
	    StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.Status);
	    str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andStatusNotEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.Status + " <> ", subQueryBean, dao);
			return this;
		}
               public Criteria andStatusGreaterThan(String value) {
        				
            addCriterion(IBusinessNodeFormDAO.Status + " >", value, "status");
            return this;
        }
        
        public Criteria andStatusGreaterThanForeignKey(java.lang.String key) {
	    StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.Status);
	    str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andStatusGreaterThan(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.Status + " > ", subQueryBean, dao);
			return this;
		}
               public Criteria andStatusGreaterThanOrEqualTo(String value) {
        				
            addCriterion(IBusinessNodeFormDAO.Status + " >=", value, "status");
            return this;
        }
        
        public Criteria andStatusGreaterThanOrEqualToForeignKey(java.lang.String key) {
			StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.Status);
			str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andStatusGreaterThanOrEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.Status + " >= ", subQueryBean, dao);
			return this;
		}
        
                public Criteria andStatusLessThan(String value) {
        				
            addCriterion(IBusinessNodeFormDAO.Status + " <", value, "status");
            return this;
        }
        
        public Criteria andStatusLessThanForeignKey(java.lang.String key) {
			StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.Status);
			str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andStatusLessThan(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.Status + " < ", subQueryBean, dao);
			return this;
		}
        
                public Criteria andStatusLessThanOrEqualTo(String value) {
        				
            addCriterion(IBusinessNodeFormDAO.Status + " <=", value, "status");
            return this;
        }
        
        public Criteria andStatusLessThanOrEqualToForeignKey(java.lang.String key) {
			StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.Status);
			str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andStatusLessThanOrEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.Status + " <= ", subQueryBean, dao);
			return this;
		}
		
				
        public Criteria andStatusLike(String value) {
        	StringBuffer buffer = new StringBuffer("%");
        	buffer.append(value);
        	buffer.append("%");
            addCriterion(IBusinessNodeFormDAO.Status + " like", buffer.toString(), "status");
            return this;
        }
        public Criteria andStatusNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
        	buffer.append(value);
        	buffer.append("%");
            addCriterion(IBusinessNodeFormDAO.Status + " not like", buffer.toString(), "status");
            return this;
        }
                
                public Criteria andStatusIn(List<String> values) {
        	
        	if(values.size() == 1){
        		return andStatusEqualTo(values.get(0));
        	}
        	else{
            	addCriterion(IBusinessNodeFormDAO.Status + " in", values, "status");
            	return this;
            }
        }
        public Criteria andStatusNotIn(List<String> values) {
        	if(values.size() == 1){
        		return andStatusNotEqualTo(values.get(0));
        	}
        	else{
            	addCriterion(IBusinessNodeFormDAO.Status + " not in", values, "status");
            	return this;
            }
        }
        
        public Criteria andStatusIn(String[] values) {
        	
        	if(values.length == 1){
        		return andStatusEqualTo(values[0]);
        	}
        	else{
            	addCriterion(IBusinessNodeFormDAO.Status + " in", Arrays.asList(values), "status");
            	return this;
            }
        }
        public Criteria andStatusNotIn(String[] values) {
        	if(values.length == 1){
        		return andStatusNotEqualTo(values[0]);
        	}
        	else{
            	addCriterion(IBusinessNodeFormDAO.Status + " not in", Arrays.asList(values), "status");
            	return this;
            }
        }
		
		public Criteria andStatusIn(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.Status + " in ", subQueryBean, dao);
			return this;
		}
		
		public Criteria andStatusNotIn(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.Status + " not in ", subQueryBean, dao);
			return this;
		}
        
                public Criteria andStatusBetween(String value1, String value2) {
            addCriterion(IBusinessNodeFormDAO.Status + " between", value1, value2, "status");
            return this;
        }
        
                public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion(IBusinessNodeFormDAO.Status + " not between", value1, value2, "status");
            return this;
        }
        
            	
    	    	
    	    	
    	        
                
        public Criteria andRemarksIsNull() {
            addCriterion(IBusinessNodeFormDAO.Remarks + " is null");
            return this;
        }
        public Criteria andRemarksIsNotNull() {
            addCriterion(IBusinessNodeFormDAO.Remarks + " is not null");
            return this;
        }
    
        public Criteria andRemarksIsNotEmpty() {        
            addCriterion(IBusinessNodeFormDAO.Remarks + " is not null AND " + IBusinessNodeFormDAO.Remarks + " <> ''");
            return this;
        }
    		
    	public Criteria andRemarksIsEmpty() {       
            addCriterion("(" + IBusinessNodeFormDAO.Remarks + " is null OR " + IBusinessNodeFormDAO.Remarks + " = '')");
            return this;
        }
        
                
                        
                        
                               public Criteria andRemarksEqualTo(String value) {
        				
            addCriterion(IBusinessNodeFormDAO.Remarks + " = ", value, "remarks");
            return this;
        }
        
        public Criteria andRemarksEqualToForeignKey(java.lang.String key) {
	    StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.Remarks);
	    str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andRemarksEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.Remarks + " = ", subQueryBean, dao);
			return this;
		}
                public Criteria andRemarksNotEqualTo(String value) {
        	        
            addCriterion(IBusinessNodeFormDAO.Remarks + " <>", value, "remarks");
            return this;
        }
               
        public Criteria andRemarksNotEqualToOrIsNull(String value) {
        	        
            addCriterion(IBusinessNodeFormDAO.Remarks + " is null OR " + IBusinessNodeFormDAO.Remarks + " <>", value, "remarks");
            return this;
        }
        
        public Criteria andRemarksNotEqualToForeignKey(java.lang.String key) {
	    StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.Remarks);
	    str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andRemarksNotEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.Remarks + " <> ", subQueryBean, dao);
			return this;
		}
               public Criteria andRemarksGreaterThan(String value) {
        				
            addCriterion(IBusinessNodeFormDAO.Remarks + " >", value, "remarks");
            return this;
        }
        
        public Criteria andRemarksGreaterThanForeignKey(java.lang.String key) {
	    StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.Remarks);
	    str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andRemarksGreaterThan(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.Remarks + " > ", subQueryBean, dao);
			return this;
		}
               public Criteria andRemarksGreaterThanOrEqualTo(String value) {
        				
            addCriterion(IBusinessNodeFormDAO.Remarks + " >=", value, "remarks");
            return this;
        }
        
        public Criteria andRemarksGreaterThanOrEqualToForeignKey(java.lang.String key) {
			StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.Remarks);
			str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andRemarksGreaterThanOrEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.Remarks + " >= ", subQueryBean, dao);
			return this;
		}
        
                public Criteria andRemarksLessThan(String value) {
        				
            addCriterion(IBusinessNodeFormDAO.Remarks + " <", value, "remarks");
            return this;
        }
        
        public Criteria andRemarksLessThanForeignKey(java.lang.String key) {
			StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.Remarks);
			str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andRemarksLessThan(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.Remarks + " < ", subQueryBean, dao);
			return this;
		}
        
                public Criteria andRemarksLessThanOrEqualTo(String value) {
        				
            addCriterion(IBusinessNodeFormDAO.Remarks + " <=", value, "remarks");
            return this;
        }
        
        public Criteria andRemarksLessThanOrEqualToForeignKey(java.lang.String key) {
			StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.Remarks);
			str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andRemarksLessThanOrEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.Remarks + " <= ", subQueryBean, dao);
			return this;
		}
		
				
        public Criteria andRemarksLike(String value) {
        	StringBuffer buffer = new StringBuffer("%");
        	buffer.append(value);
        	buffer.append("%");
            addCriterion(IBusinessNodeFormDAO.Remarks + " like", buffer.toString(), "remarks");
            return this;
        }
        public Criteria andRemarksNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
        	buffer.append(value);
        	buffer.append("%");
            addCriterion(IBusinessNodeFormDAO.Remarks + " not like", buffer.toString(), "remarks");
            return this;
        }
                
                public Criteria andRemarksIn(List<String> values) {
        	
        	if(values.size() == 1){
        		return andRemarksEqualTo(values.get(0));
        	}
        	else{
            	addCriterion(IBusinessNodeFormDAO.Remarks + " in", values, "remarks");
            	return this;
            }
        }
        public Criteria andRemarksNotIn(List<String> values) {
        	if(values.size() == 1){
        		return andRemarksNotEqualTo(values.get(0));
        	}
        	else{
            	addCriterion(IBusinessNodeFormDAO.Remarks + " not in", values, "remarks");
            	return this;
            }
        }
        
        public Criteria andRemarksIn(String[] values) {
        	
        	if(values.length == 1){
        		return andRemarksEqualTo(values[0]);
        	}
        	else{
            	addCriterion(IBusinessNodeFormDAO.Remarks + " in", Arrays.asList(values), "remarks");
            	return this;
            }
        }
        public Criteria andRemarksNotIn(String[] values) {
        	if(values.length == 1){
        		return andRemarksNotEqualTo(values[0]);
        	}
        	else{
            	addCriterion(IBusinessNodeFormDAO.Remarks + " not in", Arrays.asList(values), "remarks");
            	return this;
            }
        }
		
		public Criteria andRemarksIn(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.Remarks + " in ", subQueryBean, dao);
			return this;
		}
		
		public Criteria andRemarksNotIn(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.Remarks + " not in ", subQueryBean, dao);
			return this;
		}
        
                public Criteria andRemarksBetween(String value1, String value2) {
            addCriterion(IBusinessNodeFormDAO.Remarks + " between", value1, value2, "remarks");
            return this;
        }
        
                public Criteria andRemarksNotBetween(String value1, String value2) {
            addCriterion(IBusinessNodeFormDAO.Remarks + " not between", value1, value2, "remarks");
            return this;
        }
        
            	
    	    	
    	    	
    	        
                
        public Criteria andBusinessFormSchemaIsNull() {
            addCriterion(IBusinessNodeFormDAO.BusinessFormSchema + " is null");
            return this;
        }
        public Criteria andBusinessFormSchemaIsNotNull() {
            addCriterion(IBusinessNodeFormDAO.BusinessFormSchema + " is not null");
            return this;
        }
    
        public Criteria andBusinessFormSchemaIsNotEmpty() {        
            addCriterion(IBusinessNodeFormDAO.BusinessFormSchema + " is not null AND " + IBusinessNodeFormDAO.BusinessFormSchema + " <> ''");
            return this;
        }
    		
    	public Criteria andBusinessFormSchemaIsEmpty() {       
            addCriterion("(" + IBusinessNodeFormDAO.BusinessFormSchema + " is null OR " + IBusinessNodeFormDAO.BusinessFormSchema + " = '')");
            return this;
        }
        
                
                        
                        
                               public Criteria andBusinessFormSchemaEqualTo(String value) {
        				
            addCriterion(IBusinessNodeFormDAO.BusinessFormSchema + " = ", value, "businessFormSchema");
            return this;
        }
        
        public Criteria andBusinessFormSchemaEqualToForeignKey(java.lang.String key) {
	    StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.BusinessFormSchema);
	    str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andBusinessFormSchemaEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.BusinessFormSchema + " = ", subQueryBean, dao);
			return this;
		}
                public Criteria andBusinessFormSchemaNotEqualTo(String value) {
        	        
            addCriterion(IBusinessNodeFormDAO.BusinessFormSchema + " <>", value, "businessFormSchema");
            return this;
        }
               
        public Criteria andBusinessFormSchemaNotEqualToOrIsNull(String value) {
        	        
            addCriterion(IBusinessNodeFormDAO.BusinessFormSchema + " is null OR " + IBusinessNodeFormDAO.BusinessFormSchema + " <>", value, "businessFormSchema");
            return this;
        }
        
        public Criteria andBusinessFormSchemaNotEqualToForeignKey(java.lang.String key) {
	    StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.BusinessFormSchema);
	    str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andBusinessFormSchemaNotEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.BusinessFormSchema + " <> ", subQueryBean, dao);
			return this;
		}
               public Criteria andBusinessFormSchemaGreaterThan(String value) {
        				
            addCriterion(IBusinessNodeFormDAO.BusinessFormSchema + " >", value, "businessFormSchema");
            return this;
        }
        
        public Criteria andBusinessFormSchemaGreaterThanForeignKey(java.lang.String key) {
	    StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.BusinessFormSchema);
	    str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andBusinessFormSchemaGreaterThan(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.BusinessFormSchema + " > ", subQueryBean, dao);
			return this;
		}
               public Criteria andBusinessFormSchemaGreaterThanOrEqualTo(String value) {
        				
            addCriterion(IBusinessNodeFormDAO.BusinessFormSchema + " >=", value, "businessFormSchema");
            return this;
        }
        
        public Criteria andBusinessFormSchemaGreaterThanOrEqualToForeignKey(java.lang.String key) {
			StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.BusinessFormSchema);
			str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andBusinessFormSchemaGreaterThanOrEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.BusinessFormSchema + " >= ", subQueryBean, dao);
			return this;
		}
        
                public Criteria andBusinessFormSchemaLessThan(String value) {
        				
            addCriterion(IBusinessNodeFormDAO.BusinessFormSchema + " <", value, "businessFormSchema");
            return this;
        }
        
        public Criteria andBusinessFormSchemaLessThanForeignKey(java.lang.String key) {
			StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.BusinessFormSchema);
			str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andBusinessFormSchemaLessThan(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.BusinessFormSchema + " < ", subQueryBean, dao);
			return this;
		}
        
                public Criteria andBusinessFormSchemaLessThanOrEqualTo(String value) {
        				
            addCriterion(IBusinessNodeFormDAO.BusinessFormSchema + " <=", value, "businessFormSchema");
            return this;
        }
        
        public Criteria andBusinessFormSchemaLessThanOrEqualToForeignKey(java.lang.String key) {
			StringBuffer str = new StringBuffer(IBusinessNodeFormDAO.BusinessFormSchema);
			str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());
            return this;
        }
		
		public Criteria andBusinessFormSchemaLessThanOrEqualTo(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.BusinessFormSchema + " <= ", subQueryBean, dao);
			return this;
		}
		
				
        public Criteria andBusinessFormSchemaLike(String value) {
        	StringBuffer buffer = new StringBuffer("%");
        	buffer.append(value);
        	buffer.append("%");
            addCriterion(IBusinessNodeFormDAO.BusinessFormSchema + " like", buffer.toString(), "businessFormSchema");
            return this;
        }
        public Criteria andBusinessFormSchemaNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
        	buffer.append(value);
        	buffer.append("%");
            addCriterion(IBusinessNodeFormDAO.BusinessFormSchema + " not like", buffer.toString(), "businessFormSchema");
            return this;
        }
                
                public Criteria andBusinessFormSchemaIn(List<String> values) {
        	
        	if(values.size() == 1){
        		return andBusinessFormSchemaEqualTo(values.get(0));
        	}
        	else{
            	addCriterion(IBusinessNodeFormDAO.BusinessFormSchema + " in", values, "businessFormSchema");
            	return this;
            }
        }
        public Criteria andBusinessFormSchemaNotIn(List<String> values) {
        	if(values.size() == 1){
        		return andBusinessFormSchemaNotEqualTo(values.get(0));
        	}
        	else{
            	addCriterion(IBusinessNodeFormDAO.BusinessFormSchema + " not in", values, "businessFormSchema");
            	return this;
            }
        }
        
        public Criteria andBusinessFormSchemaIn(String[] values) {
        	
        	if(values.length == 1){
        		return andBusinessFormSchemaEqualTo(values[0]);
        	}
        	else{
            	addCriterion(IBusinessNodeFormDAO.BusinessFormSchema + " in", Arrays.asList(values), "businessFormSchema");
            	return this;
            }
        }
        public Criteria andBusinessFormSchemaNotIn(String[] values) {
        	if(values.length == 1){
        		return andBusinessFormSchemaNotEqualTo(values[0]);
        	}
        	else{
            	addCriterion(IBusinessNodeFormDAO.BusinessFormSchema + " not in", Arrays.asList(values), "businessFormSchema");
            	return this;
            }
        }
		
		public Criteria andBusinessFormSchemaIn(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.BusinessFormSchema + " in ", subQueryBean, dao);
			return this;
		}
		
		public Criteria andBusinessFormSchemaNotIn(BaseQueryBean subQueryBean,
				IDataAccessInterface<?, ?> dao) {
			addCriterion(IBusinessNodeFormDAO.BusinessFormSchema + " not in ", subQueryBean, dao);
			return this;
		}
        
                public Criteria andBusinessFormSchemaBetween(String value1, String value2) {
            addCriterion(IBusinessNodeFormDAO.BusinessFormSchema + " between", value1, value2, "businessFormSchema");
            return this;
        }
        
                public Criteria andBusinessFormSchemaNotBetween(String value1, String value2) {
            addCriterion(IBusinessNodeFormDAO.BusinessFormSchema + " not between", value1, value2, "businessFormSchema");
            return this;
        }
        
            	
    	    	
    	        
        
    }
	
    
}